package iut.acy.cut4u.Test;

import iut.acy.cut4u.model.CategorieEmploye;
import iut.acy.cut4u.model.Client;
import iut.acy.cut4u.model.Conge;
import iut.acy.cut4u.model.CongeAnnuel;
import iut.acy.cut4u.model.Employe;
import iut.acy.cut4u.model.Horaire;
import iut.acy.cut4u.model.HoraireSalon;
import iut.acy.cut4u.model.RendezVous;
import iut.acy.cut4u.model.Sexe;
import iut.acy.cut4u.model.StatutEmploye;

import java.util.ArrayList;
import java.util.GregorianCalendar;

import junit.framework.TestCase;

public class PlanningDAOTest extends TestCase {
	
	Employe e;
	CongeAnnuel ca;
	HoraireSalon hs;
	Client c;
	RendezVous rv;

	protected void setUp() throws Exception {
		super.setUp();
	}

	protected void tearDown() throws Exception {
		super.tearDown();
	}

	public  ArrayList <Employe> recupereLesEmployesDAOTest (int numSemaine )
    { 
    	ArrayList <Employe> res1 = new ArrayList<Employe>();
    	e = new Employe(2, null, null, null, null, null, null, null, null, null, null, null);
    	res1.add(e);
    	
    	ArrayList <Employe> res2 = new ArrayList<Employe>();
    	e = new Employe(-2, null, null, null, null, null, null, null, null, null, null, null);
    	res2.add(e);
    	
    	return res1;	
    }

    public  ArrayList<CongeAnnuel>  recupereLesCongesAnnuelsDAOTest (  int numSemaine )
    { 
    	ArrayList <CongeAnnuel> res = new ArrayList<CongeAnnuel>();
    	e = new Employe(2, null, null, null, null, null, null, null, null, null, null, null);
    	ca = new CongeAnnuel(2, null, null);
    	res.add(ca);
    	return res ;	
    }
    
    public  ArrayList<HoraireSalon>  recupereLesHorairesDAOTest ( )
    { 
    	ArrayList <HoraireSalon> res = new ArrayList<HoraireSalon>();
    	hs = new HoraireSalon(2, null, null, null, null);
    	return res ;	
    }
    
    public  ArrayList<RendezVous>  recupereLesRendezVousDAOTest ( int numSemaine )
    { 
    	ArrayList <RendezVous> res = new ArrayList<RendezVous>();
    	e = new Employe(2, null, null, null, null, null, null, null, null, null, null, null);
    	rv = new RendezVous (4, null, null, null, null, null);
    	c = new Client(2, null, null, null, null, null); 
    	return res ;	
    }    
}
